#ifndef __WATCHPOINT_H__
#define __WATCHPOINT_H__

#include "common.h"

typedef struct watchpoint {
	int NO;
	struct watchpoint *next;
	char* expression;
	int val;
	/* TODO: Add more members if necessary */

} WP;


void init_wp_pool();
WP* new_wp();
void free_wp(WP* wp);
int set_wp(char *args);
int del_wp(int NO);
int ck_wp();
void print_wp();
#endif
